cover_thick=5;
cover_height=30;

circle_raidus=25/2;

table_thick=8.8;
// the error of printer
delta=0.5;

// the ratio of beauty
phi=(sqrt(5)-1)/2;
r=(circle_raidus+cover_thick);
a=r/(1-phi*phi);
// the cover of wood.
difference(){
    cylinder(r=r,h=cover_height+cover_thick,$fn=100);
    cylinder(r=circle_raidus+delta/2,h=cover_height,$fn=100);
};
translate([phi*phi*a,0,cover_height+cover_thick]){
    difference(){
        linear_extrude(height = table_thick+2*cover_thick)
            scale([1,sqrt(1-phi*phi)]) circle(a,$fn=200);
        
        translate([-a,-sqrt(1-phi*phi)*a,cover_thick]) cube([2*r,2*sqrt(1-phi*phi)*a,table_thick]);

    }
}
